/**
 * 奖品设置
 * type: 唯一标识，0是默认特别奖的占位符，其它奖品不可使用
 * count: 奖品数量
 * title: 奖品描述
 * text: 奖品标题
 * img: 图片地址
 */
const prizes = [
  {
    type: 0,
    count: 1000,
    text: "特别奖",
    title: "",
    img: "../img/prize.jpg",
  },
  {
    type: 1,
    count: 550,
    text: "阳光奖",
    title: "现金红包99元",
    img: "../img/money.jpg",
  },
  {
    type: 2,
    count: 1,
    text: "现金特等奖",
    title: "现金红包9999元",
    img: "../img/money.jpg",
  },
  {
    type: 3,
    count: 3,
    text: "现金一等奖",
    title: "现金红包5888元",
    img: "../img/money.jpg",
  },
  {
    type: 4,
    count: 10,
    text: "现金二等奖",
    title: "现金红包1888元",
    img: "../img/money.jpg",
  },
  {
    type: 5,
    count: 100,
    text: "现金三等奖",
    title: "现金红包888元",
    img: "../img/money.jpg",
  },
  {
    type: 6,
    count: 1,
    text: "特等奖(2/2)",
    title: "MacBook Air M3 芯片",
    img: "../img/0-2.jpg",
  },
  {
    type: 7,
    count: 1,
    text: "特等奖(1/2)",
    title: "iPhone 15 Pro Max",
    img: "../img/0-1.jpg",
  },
  {
    type: 8,
    count: 3,
    text: "一等奖(3/3)",
    title: "华为WATCH 4 Pro",
    img: "../img/1-1.jpg",
  },
  {
    type: 9,
    count: 3,
    text: "一等奖(2/3)",
    title: "戴森手持式吸尘器",
    img: "../img/1-2.jpg",
  },
  {
    type: 10,
    count: 3,
    text: "一等奖(1/3)",
    title: "马歇尔3代无线蓝牙音箱",
    img: "../img/1-3.jpg",
  },
  {
    type: 11,
    count: 8,
    text: "二等奖(3/3)",
    title: "美的迷你洗衣机",
    img: "../img/2-1.jpg",
  },
  {
    type: 12,
    count: 8,
    text: "二等奖(2/3)",
    title: "惠人破壁机",
    img: "../img/2-2.jpg",
  },
  {
    type: 13,
    count: 8,
    text: "二等奖(1/3)",
    title: "Shokz韶音OpenSwim Pro骨传导游泳蓝牙耳机",
    img: "../img/2-3.jpg",
  },
  {
    type: 14,
    count: 24,
    text: "三等奖(3/3)",
    title: "山本空气炸锅",
    img: "../img/3-1.jpg",
  },
  {
    type: 15,
    count: 24,
    text: "三等奖(2/3)",
    title: "蓓慈大白杀菌足疗桶",
    img: "../img/3-2.jpg",
  },
  {
    type: 16,
    count: 24,
    text: "三等奖(1/3)",
    title: "小米行李箱",
    img: "../img/3-3.jpg",
  },
];

/**
 * 一次抽取的奖品个数与prizes对应
 */
const EACH_COUNT = [1, 50, 1, 3, 10, 20, 1, 1, 3, 3, 3, 8, 8, 8, 24, 24, 24];

/**
 * 卡片公司名称标识
 */
const COMPANY = "MoShang";

module.exports = {
  prizes,
  EACH_COUNT,
  COMPANY,
};
